package com.djz.stuinfomge.entity;

import java.sql.Timestamp;

/**
 * Class entity. @author MyEclipse Persistence Tools
 */

public class Class implements java.io.Serializable {

	// Fields

	public int getMatriculationYear() {
		return matriculationYear;
	}

	public void setMatriculationYear(int matriculationYear) {
		this.matriculationYear = matriculationYear;
	}

	private Integer id;
	private String name;
	private int matriculationYear;
	private Short totalLearnYear;
	private Speciality speciality;
	

	// Constructors

	public Speciality getSpeciality() {
		return speciality;
	}

	public void setSpeciality(Speciality speciality) {
		this.speciality = speciality;
	}

	/** default constructor */
	public Class() {
	}

	/** minimal constructor */
	public Class(Integer id) {
		this.id = id;
	}

	
	// Property accessors

	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getName() {
		return this.name;
	}

	public void setName(String name) {
		this.name = name;
	}



	public Short getTotalLearnYear() {
		return this.totalLearnYear;
	}

	public void setTotalLearnYear(Short totalLearnYear) {
		this.totalLearnYear = totalLearnYear;
	}

	

}
